﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ListBulletin.ascx.vb" Inherits="WebForm_Main_ListBulletin" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<%@ Register Src="~/WebForm/Main/AddBulletin.ascx" TagName="AddBulletin" TagPrefix="My" %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
  <tr>
    <td height="59" style="background-repeat:no-repeat;" background="<%=ResolveUrl("~/images/image/content1.jpg")%>">
    </td>
  </tr>
  <tr>
    <td>
        <asp:UpdatePanel ID="upAddBulletin" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <My:MyGridView ID="gvBulletin" SkinID="pager" BorderWidth="0px" ShowHeader="false" runat="server" AllowPaging="True"
            AllowHoverEffect="False" AllowHoverSelect="False" PageSize="10" DataKeyNames="BulletinID" meta:resourcekey="gv" MouseOverColor="" MySortDirection="Ascending" TotalRowCount="0">
            <PagerSettings Position="Top" />
            <Columns>
                <asp:TemplateField meta:resourcekey="bfBulletinSubject">
                    <itemtemplate>
                        <asp:Image runat="server" imageurl="~/Images/Image/content3.jpg"></asp:Image>&nbsp;&nbsp;    
                        <asp:LinkButton ID="lknBulletinSubject" runat="server" Text='<%#Bind("BulletinSubject")%>' CommandName="lknBulletinSubject" ToolTip='<%#Bind("BulletinSubject")%>' ></asp:LinkButton>
                    </itemtemplate>
                    <headerstyle horizontalalign="Left" />
                    <itemstyle horizontalalign="Left" />
                </asp:TemplateField>
                <asp:TemplateField meta:resourcekey="bfIssueDate">
                    <itemtemplate>
                    <asp:MultiView ID="muIssueDate" runat="server" ActiveViewIndex="0">
                        <asp:View ID="vwTopmost" runat="server">
                            <asp:Label ID="lblTopmost" runat="server" meta:resourcekey="lblTopmost"></asp:Label>
                        </asp:View>
                        <asp:View ID="vwIssueDate" runat="server">
                            <asp:Label runat="server" Text='<%#Eval("IssueDate", "{0:yyyy.MM.dd}")%>'></asp:Label>
                        </asp:View>
                    </asp:MultiView>
                    </itemtemplate>
                    <itemstyle width="50px" />
                </asp:TemplateField>
            </Columns>
        </My:MyGridView>
        <My:AddBulletin ID="AddBulletin1" runat="server"></My:AddBulletin>
    </ContentTemplate>
</asp:UpdatePanel>    
    </td>
  </tr>
</table>
